# This configuration is intended for development purpose, it's **your** responsibility to harden it for production
services:
  postgresql:
    image: {{postgresqlDockerImageWithVersion}}
    # volumes:
    #   - ~/volumes/jhipster/{{baseName}}/postgresql/:/var/lib/postgresql/data/
    environment:
      - POSTGRES_USER={{baseName}}
      - POSTGRES_PASSWORD=
      - POSTGRES_HOST_AUTH_METHOD=trust
    # If you want to expose these ports outside your dev PC,
    # remove the "127.0.0.1:" prefix
    ports:
      - '127.0.0.1:5432:5432'
